﻿namespace 命令模式
{
    // 撤销命令
    public class UndoCommand:DocumentCommand
    {
        public UndoCommand(Document document) : base(document)
        {
        }

        public override void Execute()
        {
           Document.Undo();
        }
    }
}
